Conversation
| { | ||
| T2Error("%s : Curl set opts failed with error %s \n", __FUNCTION__, curl_easy_strerror(code)); | ||
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, 1L)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
| T2Error("%s : Curl set opts failed with error %s \n", __FUNCTION__, curl_easy_strerror(code)); | ||
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, curl_debug_callback_func); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, curl_debug_callback_func)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, curl_debug_callback_func); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGDATA, NULL); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, NULL)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
| curl_easy_cleanup(curl); // CID 189985: Resource leak | ||
| goto child_cleanReturn; | ||
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, 1L)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
| goto child_cleanReturn; | ||
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, curl_debug_callback_func); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, curl_debug_callback_func)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
| } | ||
| curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, curl_debug_callback_func); | ||
| curl_easy_setopt(curl, CURLOPT_DEBUGDATA, NULL); |
There was a problem hiding this comment.
Coverity Issue - Unchecked return value from library
Calling "curl_easy_setopt(curl, _curl_opt, NULL)" without checking return value. This library function may fail and return an error code.
Medium Impact, CWE-252
CHECKED_RETURN
No description provided.